package com.webservice.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class StudentPost
{
	
	String PostID;
	String Question;
	String Answer;	
	String VisitedCount;

	String StudentID;
	String TeacherID;
	
	String ViewPost;
	String FileContent;
	
	String Status;
	String ErrorDesc;
	int NoOfRows;
	
	public List<StudentPost> studentPostData;
	
	public StudentPost(){}
	
	public StudentPost(List<StudentPost> studentPostData,String Status)
	{
		this.studentPostData=studentPostData;
		this.Status=Status;
	}
	
	public StudentPost(List<StudentPost> studentPostData,String Status,int NoOfRows)
	{
		this.studentPostData=studentPostData;
		this.Status=Status;
		this.NoOfRows=NoOfRows;
	}
	
	public String getStatus()
	{
		return Status;
	}

	public void setStatus(String status) 
	{
		Status = status;
	}

	public String getErrorDesc() 
	{
		return ErrorDesc;
	}

	public void setErrorDesc(String errorDesc) 
	{
		ErrorDesc = errorDesc;
	}

	public String getVisitedCount()
	{
		return VisitedCount;
	}

	public void setVisitedCount(String visitedCount) 
	{
		VisitedCount = visitedCount;
	}
	
	public String getPostID() 
	{
		return PostID;
	}
	
	public void setPostID(String postID)
	{
		PostID = postID;
	}
	
	public String getQuestion() 
	{
		return Question;
	}
	
	public void setQuestion(String question) 
	{
		Question = question;
	}
	
	public String getStudentID() 
	{
		return StudentID;
	}
	
	public void setStudentID(String studentID) 
	{
		StudentID = studentID;
	}
	
	public String getTeacherID() 
	{
		return TeacherID;
	}
	
	public void setTeacherID(String teacherID) 
	{
		TeacherID = teacherID;
	}
	
	public String getAnswer() 
	{
		return Answer;
	}

	public void setAnswer(String answer) 
	{
		Answer = answer;
	}	

	
	public int getNoOfRows() {
		return NoOfRows;
	}

	public void setNoOfRows(int noOfRows) {
		NoOfRows = noOfRows;
	}


	public String getViewPost() {
		return ViewPost;
	}

	public void setViewPost(String viewPost) {
		ViewPost = viewPost;
	}
	public String getFileContent() {
		return FileContent;
	}

	public void setFileContent(String fileContent) {
		FileContent = fileContent;
	}


}
